<template>
    <div class="wai">
        <div class="wrapper">
            <div class="s-black">
            </div>
        </div>
        <div class="div-login">

            <!--登录-->
            <!--<router-link to="/Main">Go to Bar</router-link>-->
            <div class="div-title"><p> 桂林医学院报修管理系统</p></div>
            <div class="input-que">

                <div class="wellcome_title">欢迎登录</div>
                <div class="input_form">
                    <div>
                        <img src="../../assets/user.png" class="img_class"/>
                        <input v-model="input" class="input_class" placeholder="账号"/>
                        <span class="tip_span">请输入帐户名称</span>
                    </div>
                    <div>
                        <img src="../../assets/paw.png" class="img_class"/>
                        <input type="password" placeholder="请输入密码" class="input_paw" v-model="input"/>
                        <span class="tip_span">请输入密码</span>
                    </div>
                    <div class="">
                        <!--<input type="checkbox"/>-->
                        <!--<el-checkbox v-model="checked" class="checked_class" >-->
                        <!--<span>记住登录状态</span>-->
                        <!--</el-checkbox>-->
                        <!--<input id="color-input-red" class="chat-button-location-radio-input" type="checkbox" name="color-input-red" value="#f0544d" />-->
                        <!--<label  for="color-input-red"></label >-->
                        <div class="checkbox-item">
                            <input name="checkbox" id="item1" type="checkbox"/>
                            <label class="checkbox-label" for="item1">记住登录状态</label>

                        </div>


                    </div>
                </div>

                <div>
                    <!--<button  class="" type="primary">主要按钮</button>-->

                    <button class="button_class">
                        <span>登&nbsp;录</span>
                    </button>

                </div>


            </div>
        </div>
    </div>
</template>

<script>
    // import { Row, Col } from 'element-ui';
    export default {
        name: "Login",
        components: {
            // Row,Col
        },
        data() {
            const item = {
                date: '2016-05-02',
                name: 'Tom',
                address: 'No. 189, Grove St, Los Angeles'
            };
            return {
                checked: true,
                input: '',
                tableData: Array(20).fill(item)
            }
        }
    }
</script>

<style scoped>
    * {
        padding: 0px;
        margin: 0px;

        overflow-y: hidden;
    }

    .wai {
        /*position: relative;*/
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;

        overflow-y: hidden;
    }

    .wrapper {
        /*filter: blur(1px);*/
        /*-webkit-filter: grayscale(100%); !* Chrome, Safari, Opera *!*/
        /*filter: grayscale(100%);*/
        /*filter: blur(1px);*/
        /*background-image: url("../../assets/bg-tip.png");*/
        filter: blur(3px);
        margin: 0 auto;
        background-size: cover;
        background-repeat: no-repeat;

        width: 100%;
        min-height: 100vh;

        /*display: flex;*/
        /*justify-content: center;*/
        /*align-items: center;*/
    }

    .s-black {

        width: 100%;
        min-height: 100vh;
        background-color: rgba(0, 0, 0, .3);
    }

    .div-title > p {
        font-size: 28px;
        color: white;
        margin-bottom: 15px;
    }

    .div-login {

        position: absolute;
        top: 170px;
        right: 170px;
    }

    .input-que {

        width: 490px;
        height: 430px;
        background-color: white;
        border-radius: 5px;
    }

    .button_class {
        width: 74%;
        height: 54px;
        margin: 10px 0;
        background: #7c6ee6;
        border: none;
        font-size: 20px;
        color: white;
        border-radius: 5px;
    }

    .img_class {
        margin-top: 27px;
        margin-left: 5px;
        position: absolute;
        width: 35px;
        height: 35px;
    }

    .input_class {
        padding-left: 60px;
        background-color: #F3F6F8;
        font-size: 15px;
        margin-top: 20px;
        min-height: 36px;
        line-height: 36px;
        border-width: 1px;
        border-style: solid;
        color: #666666;
        border-radius: 2px;
        border-color: #eee;
        outline: none;
        display: block;
        width: 80%;
        height: 52px;

    }

    .input_paw {
        padding-left: 60px;
        font-size: 15px;
        margin-top: 20px;
        min-height: 36px;
        line-height: 36px;
        border-width: 1px;
        border-style: solid;
        background-color: #F3F6F8;
        color: #666666;
        border-radius: 2px;
        border-color: #eee;
        outline: none;
        display: block;
        width: 80%;
        height: 52px;
    }

    .tip_span {
        color: red;
        font-size: 12px;
    }

    .input_form {
        margin: 0 auto;
        justify-items: center;
        width: 74%;
        text-align: left;
    }

    .wellcome_title {
        color: #666666;
        font-size: 20px;
        margin-top: 31px;
        margin-bottom: 20px;
    }

    .checked_class {

        /*color: #7C6EE6;*/
        color: #666666;
    }

    .checkbox-item {
        margin-right: 20px;
        display: inline-block;
        position: relative;
    }

    .checkbox-item label {

        color: #666666;
        line-height: 44px;
        vertical-align: middle;
        cursor: pointer;
    }

    .checkbox-item input[type="checkbox"] {

        margin-right: 15px;
        width: 15px;
        height: 15px;
        visibility: hidden;
    }

    /* 设计新的checkbox，位置 */
    .checkbox-item label:BEFORE {
        content: '';
        position: absolute;
        top: 14px;
        left: 0px;
        width: 15px;
        height: 15px;
        border-radius: 2px;
        border: 1px solid #bbb;
        background: #fff;
        cursor: pointer;

    }

    /* 点击初始的checkbox，将新的checkbox关联起来 */
    .checkbox-item input[type="checkbox"]:checked + label:BEFORE {
        content: '\2713';
        font-size: 12px;
        display: block;
        line-height: 16px;
        vertical-align: middle;
        text-align: center;
        background-color: #7C6EE6;
        color: #ffffff;
    }

    .checkbox-item input[type="checkbox"]:checked + label {
        color: #7C6EE6;
    }

    /*checkbox-label*/
    /*.button_class:hover {*/
    /*background: #46a6ff;*/
    /*border-color: #46a6ff;*/
    /*color: #fff;*/
    /*}*/


</style>